pub struct Book {
    pub name: String,
    pub isbn: String,
    pub author: String,
}

pub trait ShowBook {
    fn show(&self);
}

impl ShowBook for Book {
    fn show(&self) {
        println!("ISBN:{},Name:{},Author:{}", self.isbn, self.name, self.author);
    }
}